package com.qianduo.exception;

import com.qianduo.util.Constants;

@SuppressWarnings("serial")
public class DaoException extends Exception {
	public DaoException() {}

	public DaoException(String message) {		
		super(message);
		Constants.log.error(message);
	}

	public DaoException(Throwable cause) {
		super(cause);
		Constants.log.error(cause);
	}

	public DaoException(String message, Throwable cause) {
		super(message, cause);
		Constants.log.error(message,cause);
	}

}
